package cn.common.goods.model;

import cn.common.common.model.BaseParms;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

public class BaseGoodsCart extends BaseParms {
    @ApiModelProperty(value = "购物车ID")
    private Integer id;
    @ApiModelProperty(value = "用户ID")
    private Integer userId;
    @ApiModelProperty(value = "用户姓名")
    private String userName;
    @ApiModelProperty(value = "商品ID")
    private Integer goodsId;
    @ApiModelProperty(value = "商品款式ID")
    private Integer goodsStyleId;
    @ApiModelProperty(value = "该款式数量")
    private Integer styleNum;
    @ApiModelProperty(value = "当前状态")
    private String status;
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public Integer getGoodsStyleId() {
        return goodsStyleId;
    }

    public void setGoodsStyleId(Integer goodsStyleId) {
        this.goodsStyleId = goodsStyleId;
    }

    public Integer getStyleNum() {
        return styleNum;
    }

    public void setStyleNum(Integer styleNum) {
        this.styleNum = styleNum;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}